package top.arryweb.application.common.exception;


import top.arryweb.application.common.constant.StatusCode;

/**
 * @author Arry
 * @since 2021-05-04
 */
public class BusinessRuntimeException extends RuntimeException {

  public int getCode() {
    return StatusCode.CODE_Business_Exception;
  }

  public BusinessRuntimeException(String message) {
    super(message);
  }

  public BusinessRuntimeException(String message, Throwable cause) {
    super(message, cause);
  }
}
